home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4886 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: news2.ios.com!usenet
  2. From: vlad@gramercy.ios.com (Vlastimil Adamovsky)
  3. Newsgroups: comp.lang.lisp,comp.lang.c++
  4. Subject: Re: Why garbage collection?
  5. Date: Thu, 01 Feb 1996 14:12:54 GMT
  6. Organization: Internet Online Services
  7. Message-ID: <4eqh80$c9f@news2.ios.com>
  8. References: <rvillDL4v3n.I8r@netcom.com> <hbaker-2201961503250001@10.0.2.15> <4eae5s$66p@nz12.rz.uni-karlsruhe.de> <4ecmfo$as9@news2.ios.com> <4ei4og$la1@info.epfl.ch>
  9. NNTP-Posting-Host: ppp-32.ts-7.hck.idt.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. "Stefan Monnier" <stefan.monnier@lia.di.epfl.ch> wrote:
  13.  
  14. Good Morning!!!!!
  15.  
  16. >You mean like the virtual table stuff that could be implemented with low-level
  17. >operations but instead is well hidden ? At least well enough to make C++-objects
  18. >very inconvenient to represent any low-level data-structure.
  19.  
  20. >Little example: the vtable can be considered a class-pointer, but C++ has been
  21. >well enough designed to make it impossible for you to explicitely add any kind
  22. >of info to the vtable.
  23. Why would you need to modify the vtable. Create a pointer to your
  24. table and modify it as you wish. By the way, can you modify C -
  25. language compiler so it will behave as YOU want to?
  26.  
  27. >C++ is not low-level enough.....
  28. >Furthermore, C++ is too low-level.....
  29. Make your decision....
  30.  
  31. >Basically, C++ is a mix between low and "high"-level language and I'm not
  32. >sure it's a good idea, since its high-level features are not really useable
  33. >when you want to use the low-level features and the low-level features make it
  34. >hard to take advantage of several aspects of the high-level features.
  35.  
  36. I am sure you have found some strange things. Can you document your
  37. words?
  38. *******************************************
  39. *    Vlastimil Adamovsky                  *
  40. * Smalltalk, C++ and Envelop development  *
  41. *******************************************
  42.  
  43.